package com.baidu.hateoas.demo.stocks.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "t_stocks")
@Entity
@NoArgsConstructor
@AllArgsConstructor

public class StocksEntity extends BaseEntity {

    private String name;

    private Double price;

    private String addressAge;

}
